package GEO;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 高德地址解析实体
 **/
@Data
public class AddressInfoBo implements Serializable {

    private String status;

    private String info;

    private String infocode;

    private String count;

    private List<Geocodes> geocodes;

    @Data
    public static class Neighborhood {
        private List<String> name;

        private List<String> type;

    }

    @Data
    public static class Building {
        private List<String> name;

        private List<String> type;

    }

    @Data
    public static class Geocodes {
        private String formatted_address;

        private String country;

        private String province;

        private String citycode;

        private String city;

        private String district;

        private List<String> township;

        private Neighborhood neighborhood;

        private Building building;

        private String adcode;

        private List<String> street;

        private List<String> number;

        private String location;

        private String level;
    }

}
